<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.TrueTypeFile Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_true_type_file.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_vect_sharp_1_1_true_type_file-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.TrueTypeFile Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Represents a font file in TrueType format. Reference: <a href="http://stevehanov.ca/blog/?id=143">http://stevehanov.ca/blog/?id=143</a>, <a href="https://developer.apple.com/fonts/TrueType-Reference-Manual/">https://developer.apple.com/fonts/TrueType-Reference-Manual/</a>, <a href="https://docs.microsoft.com/en-us/typography/opentype/spec/">https://docs.microsoft.com/en-us/typography/opentype/spec/</a>   
 <a href="class_vect_sharp_1_1_true_type_file.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_bearings.html">Bearings</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents the left- and right-side bearings of a glyph.   <a href="struct_vect_sharp_1_1_true_type_file_1_1_bearings.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file_1_1_pair_kerning.html">PairKerning</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contains information describing how the position of two glyphs in a kerning pair should be altered.   <a href="class_vect_sharp_1_1_true_type_file_1_1_pair_kerning.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_name.html">TrueTypeName</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represets a TrueType name.   <a href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_name.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_point.html">TrueTypePoint</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents a point in a TrueType path description.   <a href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_point.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_vertical_metrics.html">VerticalMetrics</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents the maximum heigth above and depth below the baseline of a glyph.   <a href="struct_vect_sharp_1_1_true_type_file_1_1_vertical_metrics.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af90110e53ded920a9f3fbb1906ebcfd2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#af90110e53ded920a9f3fbb1906ebcfd2">Destroy</a> ()</td></tr>
<tr class="memdesc:af90110e53ded920a9f3fbb1906ebcfd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove this TrueType file from the cache, clear the tables and release the <a class="el" href="class_vect_sharp_1_1_true_type_file.html#a8df9028202564d2a8ca841102e558a1f" title="A stream pointing to the TrueType file source (either on disk or in memory). Never dispose this strea...">FontStream</a>. Only call this when the actual file that was used to create this object needs to be changed!   <a href="class_vect_sharp_1_1_true_type_file.html#af90110e53ded920a9f3fbb1906ebcfd2">More...</a><br /></td></tr>
<tr class="separator:af90110e53ded920a9f3fbb1906ebcfd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa41ed2707565995122286e3ada899244"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_true_type_file.html">TrueTypeFile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#aa41ed2707565995122286e3ada899244">SubsetFont</a> (string charactersToInclude, bool consolidateAt32=false, Dictionary&lt; char, char &gt; outputEncoding=null)</td></tr>
<tr class="memdesc:aa41ed2707565995122286e3ada899244"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a subset of the TrueType file, containing only the glyphs for the specified characters.   <a href="class_vect_sharp_1_1_true_type_file.html#aa41ed2707565995122286e3ada899244">More...</a><br /></td></tr>
<tr class="separator:aa41ed2707565995122286e3ada899244"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd9c8b6a0adca6684e4bc629a447d849"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#abd9c8b6a0adca6684e4bc629a447d849">GetFontFamilyName</a> ()</td></tr>
<tr class="memdesc:abd9c8b6a0adca6684e4bc629a447d849"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the font family name from the TrueType file.   <a href="class_vect_sharp_1_1_true_type_file.html#abd9c8b6a0adca6684e4bc629a447d849">More...</a><br /></td></tr>
<tr class="separator:abd9c8b6a0adca6684e4bc629a447d849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7115a200c1dd75ec210d55b361fb776"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#ae7115a200c1dd75ec210d55b361fb776">GetFullFontFamilyName</a> ()</td></tr>
<tr class="memdesc:ae7115a200c1dd75ec210d55b361fb776"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the full font family name from the TrueType file.   <a href="class_vect_sharp_1_1_true_type_file.html#ae7115a200c1dd75ec210d55b361fb776">More...</a><br /></td></tr>
<tr class="separator:ae7115a200c1dd75ec210d55b361fb776"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a282ffb486dc20d30f55f64941ab32720"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a282ffb486dc20d30f55f64941ab32720">GetFontName</a> ()</td></tr>
<tr class="memdesc:a282ffb486dc20d30f55f64941ab32720"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the PostScript font name from the TrueType file.   <a href="class_vect_sharp_1_1_true_type_file.html#a282ffb486dc20d30f55f64941ab32720">More...</a><br /></td></tr>
<tr class="separator:a282ffb486dc20d30f55f64941ab32720"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e972b03c01c77700497ef607225f9ac"><td class="memItemLeft" align="right" valign="top">ushort&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a3e972b03c01c77700497ef607225f9ac">GetFirstCharIndex</a> ()</td></tr>
<tr class="memdesc:a3e972b03c01c77700497ef607225f9ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the first character glyph represented by the font.   <a href="class_vect_sharp_1_1_true_type_file.html#a3e972b03c01c77700497ef607225f9ac">More...</a><br /></td></tr>
<tr class="separator:a3e972b03c01c77700497ef607225f9ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc93935c524ad9ec77d8ca0b1d44055b"><td class="memItemLeft" align="right" valign="top">ushort&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#acc93935c524ad9ec77d8ca0b1d44055b">GetLastCharIndex</a> ()</td></tr>
<tr class="memdesc:acc93935c524ad9ec77d8ca0b1d44055b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the last character glyph represented by the font.   <a href="class_vect_sharp_1_1_true_type_file.html#acc93935c524ad9ec77d8ca0b1d44055b">More...</a><br /></td></tr>
<tr class="separator:acc93935c524ad9ec77d8ca0b1d44055b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e4824b77b5933d6acfcaccb35e611c2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a2e4824b77b5933d6acfcaccb35e611c2">IsItalic</a> ()</td></tr>
<tr class="memdesc:a2e4824b77b5933d6acfcaccb35e611c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the typeface is Italic or Oblique or not.   <a href="class_vect_sharp_1_1_true_type_file.html#a2e4824b77b5933d6acfcaccb35e611c2">More...</a><br /></td></tr>
<tr class="separator:a2e4824b77b5933d6acfcaccb35e611c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adea9ca6b90608a6016ccd6396a5b4ca2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#adea9ca6b90608a6016ccd6396a5b4ca2">IsOblique</a> ()</td></tr>
<tr class="memdesc:adea9ca6b90608a6016ccd6396a5b4ca2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the typeface is Oblique or not.   <a href="class_vect_sharp_1_1_true_type_file.html#adea9ca6b90608a6016ccd6396a5b4ca2">More...</a><br /></td></tr>
<tr class="separator:adea9ca6b90608a6016ccd6396a5b4ca2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e8376d45118eef1099fe0ad33d0e21b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a7e8376d45118eef1099fe0ad33d0e21b">IsBold</a> ()</td></tr>
<tr class="memdesc:a7e8376d45118eef1099fe0ad33d0e21b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the typeface is Bold or not.   <a href="class_vect_sharp_1_1_true_type_file.html#a7e8376d45118eef1099fe0ad33d0e21b">More...</a><br /></td></tr>
<tr class="separator:a7e8376d45118eef1099fe0ad33d0e21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cbc0138ead9fd519e09e8f1988c7117"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a5cbc0138ead9fd519e09e8f1988c7117">IsFixedPitch</a> ()</td></tr>
<tr class="memdesc:a5cbc0138ead9fd519e09e8f1988c7117"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the typeface is fixed-pitch (aka monospaces) or not.   <a href="class_vect_sharp_1_1_true_type_file.html#a5cbc0138ead9fd519e09e8f1988c7117">More...</a><br /></td></tr>
<tr class="separator:a5cbc0138ead9fd519e09e8f1988c7117"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee6f8fdf0984954c8ad83a2d9dbd91cc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#aee6f8fdf0984954c8ad83a2d9dbd91cc">IsSerif</a> ()</td></tr>
<tr class="memdesc:aee6f8fdf0984954c8ad83a2d9dbd91cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the typeface is serifed or not.   <a href="class_vect_sharp_1_1_true_type_file.html#aee6f8fdf0984954c8ad83a2d9dbd91cc">More...</a><br /></td></tr>
<tr class="separator:aee6f8fdf0984954c8ad83a2d9dbd91cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fde1c54dbe0648291951d248aebee18"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a7fde1c54dbe0648291951d248aebee18">IsScript</a> ()</td></tr>
<tr class="memdesc:a7fde1c54dbe0648291951d248aebee18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the typeface is a script typeface or not.   <a href="class_vect_sharp_1_1_true_type_file.html#a7fde1c54dbe0648291951d248aebee18">More...</a><br /></td></tr>
<tr class="separator:a7fde1c54dbe0648291951d248aebee18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c43d885920fab37a9314aa390453bc3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a9c43d885920fab37a9314aa390453bc3">GetGlyphIndex</a> (char glyph)</td></tr>
<tr class="memdesc:a9c43d885920fab37a9314aa390453bc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the index of the glyph corresponding to a certain character.   <a href="class_vect_sharp_1_1_true_type_file.html#a9c43d885920fab37a9314aa390453bc3">More...</a><br /></td></tr>
<tr class="separator:a9c43d885920fab37a9314aa390453bc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a221adc71cec5fc5f0949a3e1488d5627"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_point.html">TrueTypePoint</a>[][]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a221adc71cec5fc5f0949a3e1488d5627">GetGlyphPath</a> (int glyphIndex, double size)</td></tr>
<tr class="memdesc:a221adc71cec5fc5f0949a3e1488d5627"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the path that describes the shape of a glyph.   <a href="class_vect_sharp_1_1_true_type_file.html#a221adc71cec5fc5f0949a3e1488d5627">More...</a><br /></td></tr>
<tr class="separator:a221adc71cec5fc5f0949a3e1488d5627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d71c3bc53966321e3888fd7a9b21751"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_point.html">TrueTypePoint</a>[][]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a2d71c3bc53966321e3888fd7a9b21751">GetGlyphPath</a> (char glyph, double size)</td></tr>
<tr class="memdesc:a2d71c3bc53966321e3888fd7a9b21751"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the path that describes the shape of a glyph.   <a href="class_vect_sharp_1_1_true_type_file.html#a2d71c3bc53966321e3888fd7a9b21751">More...</a><br /></td></tr>
<tr class="separator:a2d71c3bc53966321e3888fd7a9b21751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78be18e6d87950d5d1bbaf1970a00564"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a78be18e6d87950d5d1bbaf1970a00564">Get1000EmGlyphWidth</a> (char glyph)</td></tr>
<tr class="memdesc:a78be18e6d87950d5d1bbaf1970a00564"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the advance width of a glyph, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#a78be18e6d87950d5d1bbaf1970a00564">More...</a><br /></td></tr>
<tr class="separator:a78be18e6d87950d5d1bbaf1970a00564"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada8a81ebe29794884fd957163fbd99e8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#ada8a81ebe29794884fd957163fbd99e8">Get1000EmGlyphWidth</a> (int glyphIndex)</td></tr>
<tr class="memdesc:ada8a81ebe29794884fd957163fbd99e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the advance width of a glyph, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#ada8a81ebe29794884fd957163fbd99e8">More...</a><br /></td></tr>
<tr class="separator:ada8a81ebe29794884fd957163fbd99e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad54089217ce9110b5efb0b1668238761"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#ad54089217ce9110b5efb0b1668238761">Get1000EmWinAscent</a> ()</td></tr>
<tr class="memdesc:ad54089217ce9110b5efb0b1668238761"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the font's Win ascent, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#ad54089217ce9110b5efb0b1668238761">More...</a><br /></td></tr>
<tr class="separator:ad54089217ce9110b5efb0b1668238761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e1f305a731f09899d434eab608be504"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a1e1f305a731f09899d434eab608be504">Get1000EmAscent</a> ()</td></tr>
<tr class="memdesc:a1e1f305a731f09899d434eab608be504"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the font ascent, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#a1e1f305a731f09899d434eab608be504">More...</a><br /></td></tr>
<tr class="separator:a1e1f305a731f09899d434eab608be504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd6fac0c1556a58be91ddfcda2f40963"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#acd6fac0c1556a58be91ddfcda2f40963">Get1000EmDescent</a> ()</td></tr>
<tr class="memdesc:acd6fac0c1556a58be91ddfcda2f40963"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the font descent, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#acd6fac0c1556a58be91ddfcda2f40963">More...</a><br /></td></tr>
<tr class="separator:acd6fac0c1556a58be91ddfcda2f40963"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a007e5a47fcd0eeac25a2d40e1e87a6a7"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a007e5a47fcd0eeac25a2d40e1e87a6a7">Get1000EmYMax</a> ()</td></tr>
<tr class="memdesc:a007e5a47fcd0eeac25a2d40e1e87a6a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the maximum height over the baseline of the font, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#a007e5a47fcd0eeac25a2d40e1e87a6a7">More...</a><br /></td></tr>
<tr class="separator:a007e5a47fcd0eeac25a2d40e1e87a6a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd1b6e15206231fc0c8a0c8a4db3d7b0"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#acd1b6e15206231fc0c8a0c8a4db3d7b0">Get1000EmYMin</a> ()</td></tr>
<tr class="memdesc:acd1b6e15206231fc0c8a0c8a4db3d7b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the maximum depth below the baseline of the font, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#acd1b6e15206231fc0c8a0c8a4db3d7b0">More...</a><br /></td></tr>
<tr class="separator:acd1b6e15206231fc0c8a0c8a4db3d7b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37a6a96e07782c4f6264a5ee11408618"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a37a6a96e07782c4f6264a5ee11408618">Get1000EmXMax</a> ()</td></tr>
<tr class="memdesc:a37a6a96e07782c4f6264a5ee11408618"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the maximum distance to the right of the glyph origin of the font, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#a37a6a96e07782c4f6264a5ee11408618">More...</a><br /></td></tr>
<tr class="separator:a37a6a96e07782c4f6264a5ee11408618"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eacb1aad853f9938824a90c43dd4171"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a8eacb1aad853f9938824a90c43dd4171">Get1000EmXMin</a> ()</td></tr>
<tr class="memdesc:a8eacb1aad853f9938824a90c43dd4171"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the maximum distance to the left of the glyph origin of the font, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#a8eacb1aad853f9938824a90c43dd4171">More...</a><br /></td></tr>
<tr class="separator:a8eacb1aad853f9938824a90c43dd4171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc7b9b93361782e09a23addc40763148"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_bearings.html">Bearings</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#abc7b9b93361782e09a23addc40763148">Get1000EmGlyphBearings</a> (char glyph)</td></tr>
<tr class="memdesc:abc7b9b93361782e09a23addc40763148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the left- and right- side bearings of a glyph, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#abc7b9b93361782e09a23addc40763148">More...</a><br /></td></tr>
<tr class="separator:abc7b9b93361782e09a23addc40763148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1795c553123fef65c8a79b06df94b7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_vertical_metrics.html">VerticalMetrics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#ab1795c553123fef65c8a79b06df94b7c">Get1000EmGlyphVerticalMetrics</a> (char glyph)</td></tr>
<tr class="memdesc:ab1795c553123fef65c8a79b06df94b7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the vertical metrics of a glyph, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#ab1795c553123fef65c8a79b06df94b7c">More...</a><br /></td></tr>
<tr class="separator:ab1795c553123fef65c8a79b06df94b7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1388de7ef1645e051578d813649bc69b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a1388de7ef1645e051578d813649bc69b">Get1000EmUnderlinePosition</a> ()</td></tr>
<tr class="memdesc:a1388de7ef1645e051578d813649bc69b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the distance of the top of the underline from the baseline, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#a1388de7ef1645e051578d813649bc69b">More...</a><br /></td></tr>
<tr class="separator:a1388de7ef1645e051578d813649bc69b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b5bb2fb701f97516051c590d799e969"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a5b5bb2fb701f97516051c590d799e969">Get1000EmUnderlineThickness</a> ()</td></tr>
<tr class="memdesc:a5b5bb2fb701f97516051c590d799e969"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the thickness of the underline, in thousandths of em unit.   <a href="class_vect_sharp_1_1_true_type_file.html#a5b5bb2fb701f97516051c590d799e969">More...</a><br /></td></tr>
<tr class="separator:a5b5bb2fb701f97516051c590d799e969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f3fba114b2632dcaeee0fb94da60a3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#aa8f3fba114b2632dcaeee0fb94da60a3">GetUnitsPerEm</a> ()</td></tr>
<tr class="memdesc:aa8f3fba114b2632dcaeee0fb94da60a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of units for each em in the font file. Multiplying any glyph measurement by this size should generally lead to an integer value.   <a href="class_vect_sharp_1_1_true_type_file.html#aa8f3fba114b2632dcaeee0fb94da60a3">More...</a><br /></td></tr>
<tr class="separator:aa8f3fba114b2632dcaeee0fb94da60a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bfa118192a7224fce438753c6667994"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a7bfa118192a7224fce438753c6667994">GetItalicAngle</a> ()</td></tr>
<tr class="memdesc:a7bfa118192a7224fce438753c6667994"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the italic angle for the current font, in counter-clockwise degrees from the vertical. This is negative for text that leans forwards.   <a href="class_vect_sharp_1_1_true_type_file.html#a7bfa118192a7224fce438753c6667994">More...</a><br /></td></tr>
<tr class="separator:a7bfa118192a7224fce438753c6667994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f502beab49ecafcd5a674c91dbf6e8"><td class="memItemLeft" align="right" valign="top">double[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#af6f502beab49ecafcd5a674c91dbf6e8">Get1000EmUnderlineIntersections</a> (char glyph, double position, double thickness)</td></tr>
<tr class="memdesc:af6f502beab49ecafcd5a674c91dbf6e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the intersections between an underline at the specified position and thickness and a glyph, in thousandths of em units.   <a href="class_vect_sharp_1_1_true_type_file.html#af6f502beab49ecafcd5a674c91dbf6e8">More...</a><br /></td></tr>
<tr class="separator:af6f502beab49ecafcd5a674c91dbf6e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31fea5eeabcaa93b2637eaba8ed69c27"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_true_type_file_1_1_pair_kerning.html">PairKerning</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a31fea5eeabcaa93b2637eaba8ed69c27">Get1000EmKerning</a> (char glyph1, char glyph2)</td></tr>
<tr class="memdesc:a31fea5eeabcaa93b2637eaba8ed69c27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the kerning between two glyphs.   <a href="class_vect_sharp_1_1_true_type_file.html#a31fea5eeabcaa93b2637eaba8ed69c27">More...</a><br /></td></tr>
<tr class="separator:a31fea5eeabcaa93b2637eaba8ed69c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a533bb576f83c40d4a148e7357b34f89c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_true_type_file_1_1_pair_kerning.html">PairKerning</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a533bb576f83c40d4a148e7357b34f89c">Get1000EmKerning</a> (int glyph1Index, int glyph2Index)</td></tr>
<tr class="memdesc:a533bb576f83c40d4a148e7357b34f89c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the kerning between two glyphs.   <a href="class_vect_sharp_1_1_true_type_file.html#a533bb576f83c40d4a148e7357b34f89c">More...</a><br /></td></tr>
<tr class="separator:a533bb576f83c40d4a148e7357b34f89c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5ba04a3800f6b7a044255303b2d2e0aa"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a5ba04a3800f6b7a044255303b2d2e0aa">GetNames</a> (string file, out List&lt; <a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_name.html">TrueTypeName</a> &gt; names)</td></tr>
<tr class="memdesc:a5ba04a3800f6b7a044255303b2d2e0aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the file is a valid TrueType file and retrieves the list of names defined in it.   <a href="class_vect_sharp_1_1_true_type_file.html#a5ba04a3800f6b7a044255303b2d2e0aa">More...</a><br /></td></tr>
<tr class="separator:a5ba04a3800f6b7a044255303b2d2e0aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22b28617c914ec8da254adc48d8a05f7"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a22b28617c914ec8da254adc48d8a05f7">GetNames</a> (Stream fs, out List&lt; <a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_name.html">TrueTypeName</a> &gt; names)</td></tr>
<tr class="memdesc:a22b28617c914ec8da254adc48d8a05f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the stream contains a valid TrueType file and retrieves the list of names defined in it.   <a href="class_vect_sharp_1_1_true_type_file.html#a22b28617c914ec8da254adc48d8a05f7">More...</a><br /></td></tr>
<tr class="separator:a22b28617c914ec8da254adc48d8a05f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a8df9028202564d2a8ca841102e558a1f"><td class="memItemLeft" align="right" valign="top">Stream&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_true_type_file.html#a8df9028202564d2a8ca841102e558a1f">FontStream</a><code> [get]</code></td></tr>
<tr class="memdesc:a8df9028202564d2a8ca841102e558a1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A stream pointing to the TrueType file source (either on disk or in memory). Never dispose this stream directly; if you really need to, call <a class="el" href="class_vect_sharp_1_1_true_type_file.html#af90110e53ded920a9f3fbb1906ebcfd2" title="Remove this TrueType file from the cache, clear the tables and release the FontStream....">Destroy</a> instead.   <a href="class_vect_sharp_1_1_true_type_file.html#a8df9028202564d2a8ca841102e558a1f">More...</a><br /></td></tr>
<tr class="separator:a8df9028202564d2a8ca841102e558a1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Represents a font file in TrueType format. Reference: <a href="http://stevehanov.ca/blog/?id=143">http://stevehanov.ca/blog/?id=143</a>, <a href="https://developer.apple.com/fonts/TrueType-Reference-Manual/">https://developer.apple.com/fonts/TrueType-Reference-Manual/</a>, <a href="https://docs.microsoft.com/en-us/typography/opentype/spec/">https://docs.microsoft.com/en-us/typography/opentype/spec/</a>  </p>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l00030">30</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="af90110e53ded920a9f3fbb1906ebcfd2" name="af90110e53ded920a9f3fbb1906ebcfd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af90110e53ded920a9f3fbb1906ebcfd2">&#9670;&#160;</a></span>Destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.TrueTypeFile.Destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove this TrueType file from the cache, clear the tables and release the <a class="el" href="class_vect_sharp_1_1_true_type_file.html#a8df9028202564d2a8ca841102e558a1f" title="A stream pointing to the TrueType file source (either on disk or in memory). Never dispose this strea...">FontStream</a>. Only call this when the actual file that was used to create this object needs to be changed!  </p>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l00053">53</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a1e1f305a731f09899d434eab608be504" name="a1e1f305a731f09899d434eab608be504"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e1f305a731f09899d434eab608be504">&#9670;&#160;</a></span>Get1000EmAscent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmAscent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the font ascent, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The font ascent in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02267">2267</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="acd6fac0c1556a58be91ddfcda2f40963" name="acd6fac0c1556a58be91ddfcda2f40963"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd6fac0c1556a58be91ddfcda2f40963">&#9670;&#160;</a></span>Get1000EmDescent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmDescent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the font descent, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The font descent in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02277">2277</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="abc7b9b93361782e09a23addc40763148" name="abc7b9b93361782e09a23addc40763148"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc7b9b93361782e09a23addc40763148">&#9670;&#160;</a></span>Get1000EmGlyphBearings()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_bearings.html">Bearings</a> VectSharp.TrueTypeFile.Get1000EmGlyphBearings </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>glyph</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the left- and right- side bearings of a glyph, in thousandths of em unit.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The glyph whose bearings are to be computed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The left- and right- side bearings of the glyph in thousandths of em unit</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02359">2359</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="ab1795c553123fef65c8a79b06df94b7c" name="ab1795c553123fef65c8a79b06df94b7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1795c553123fef65c8a79b06df94b7c">&#9670;&#160;</a></span>Get1000EmGlyphVerticalMetrics()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_vertical_metrics.html">VerticalMetrics</a> VectSharp.TrueTypeFile.Get1000EmGlyphVerticalMetrics </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>glyph</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the vertical metrics of a glyph, in thousandths of em unit.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The glyph whose vertical metrics are to be computed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The vertical metrics of a glyph, in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02407">2407</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a78be18e6d87950d5d1bbaf1970a00564" name="a78be18e6d87950d5d1bbaf1970a00564"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78be18e6d87950d5d1bbaf1970a00564">&#9670;&#160;</a></span>Get1000EmGlyphWidth() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmGlyphWidth </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>glyph</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the advance width of a glyph, in thousandths of em unit.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The glyph whose advance width is to be computed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The advance width of the glyph in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02218">2218</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="ada8a81ebe29794884fd957163fbd99e8" name="ada8a81ebe29794884fd957163fbd99e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada8a81ebe29794884fd957163fbd99e8">&#9670;&#160;</a></span>Get1000EmGlyphWidth() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmGlyphWidth </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>glyphIndex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the advance width of a glyph, in thousandths of em unit.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyphIndex</td><td>The index of the glyph whose advance width is to be computed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The advance width of the glyph in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02236">2236</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a31fea5eeabcaa93b2637eaba8ed69c27" name="a31fea5eeabcaa93b2637eaba8ed69c27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31fea5eeabcaa93b2637eaba8ed69c27">&#9670;&#160;</a></span>Get1000EmKerning() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_true_type_file_1_1_pair_kerning.html">PairKerning</a> VectSharp.TrueTypeFile.Get1000EmKerning </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>glyph1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>glyph2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the kerning between two glyphs.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph1</td><td>The first glyph of the kerning pair.</td></tr>
    <tr><td class="paramname">glyph2</td><td>The second glyph of the kerning pair.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_true_type_file_1_1_pair_kerning.html" title="Contains information describing how the position of two glyphs in a kerning pair should be altered.">PairKerning</a> object containing information about how the position of each glyphs should be altered.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02636">2636</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a533bb576f83c40d4a148e7357b34f89c" name="a533bb576f83c40d4a148e7357b34f89c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a533bb576f83c40d4a148e7357b34f89c">&#9670;&#160;</a></span>Get1000EmKerning() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_true_type_file_1_1_pair_kerning.html">PairKerning</a> VectSharp.TrueTypeFile.Get1000EmKerning </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>glyph1Index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>glyph2Index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the kerning between two glyphs.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph1Index</td><td>The index of the first glyph of the kerning pair.</td></tr>
    <tr><td class="paramname">glyph2Index</td><td>The index of the second glyph of the kerning pair.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_true_type_file_1_1_pair_kerning.html" title="Contains information describing how the position of two glyphs in a kerning pair should be altered.">PairKerning</a> object containing information about how the position of each glyphs should be altered.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02650">2650</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="af6f502beab49ecafcd5a674c91dbf6e8" name="af6f502beab49ecafcd5a674c91dbf6e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6f502beab49ecafcd5a674c91dbf6e8">&#9670;&#160;</a></span>Get1000EmUnderlineIntersections()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double[] VectSharp.TrueTypeFile.Get1000EmUnderlineIntersections </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>glyph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>thickness</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the intersections between an underline at the specified position and thickness and a glyph, in thousandths of em units.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The glyph whose intersections with the underline will be computed.</td></tr>
    <tr><td class="paramname">position</td><td>The distance of the top of the underline from the baseline, in thousandths of em unit.</td></tr>
    <tr><td class="paramname">thickness</td><td>The thickness of the underline, in thousandths of em unit.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If the underline does not intersect the glyph, this method returns <code>null</code>. Otherwise, it returns an array containing two elements, representing the horizontal coordinates of the leftmost and rightmost intersection points.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02486">2486</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a1388de7ef1645e051578d813649bc69b" name="a1388de7ef1645e051578d813649bc69b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1388de7ef1645e051578d813649bc69b">&#9670;&#160;</a></span>Get1000EmUnderlinePosition()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmUnderlinePosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the distance of the top of the underline from the baseline, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The distance of the top of the underline from the baseline, in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02424">2424</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a5b5bb2fb701f97516051c590d799e969" name="a5b5bb2fb701f97516051c590d799e969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b5bb2fb701f97516051c590d799e969">&#9670;&#160;</a></span>Get1000EmUnderlineThickness()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmUnderlineThickness </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the thickness of the underline, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The thickness of the underline, in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02440">2440</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="ad54089217ce9110b5efb0b1668238761" name="ad54089217ce9110b5efb0b1668238761"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad54089217ce9110b5efb0b1668238761">&#9670;&#160;</a></span>Get1000EmWinAscent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmWinAscent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the font's Win ascent, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The font's Win ascent in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02247">2247</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a37a6a96e07782c4f6264a5ee11408618" name="a37a6a96e07782c4f6264a5ee11408618"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37a6a96e07782c4f6264a5ee11408618">&#9670;&#160;</a></span>Get1000EmXMax()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmXMax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the maximum distance to the right of the glyph origin of the font, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The maximum distance to the right of the glyph origin of the font in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02304">2304</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a8eacb1aad853f9938824a90c43dd4171" name="a8eacb1aad853f9938824a90c43dd4171"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8eacb1aad853f9938824a90c43dd4171">&#9670;&#160;</a></span>Get1000EmXMin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmXMin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the maximum distance to the left of the glyph origin of the font, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The maximum distance to the left of the glyph origin of the font in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02313">2313</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a007e5a47fcd0eeac25a2d40e1e87a6a7" name="a007e5a47fcd0eeac25a2d40e1e87a6a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a007e5a47fcd0eeac25a2d40e1e87a6a7">&#9670;&#160;</a></span>Get1000EmYMax()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmYMax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the maximum height over the baseline of the font, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The maximum height over the baseline of the font in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02286">2286</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="acd1b6e15206231fc0c8a0c8a4db3d7b0" name="acd1b6e15206231fc0c8a0c8a4db3d7b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd1b6e15206231fc0c8a0c8a4db3d7b0">&#9670;&#160;</a></span>Get1000EmYMin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.Get1000EmYMin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the maximum depth below the baseline of the font, in thousandths of em unit.  </p>
<dl class="section return"><dt>Returns</dt><dd>The maximum depth below the baseline of the font in thousandths of em unit.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02295">2295</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a3e972b03c01c77700497ef607225f9ac" name="a3e972b03c01c77700497ef607225f9ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e972b03c01c77700497ef607225f9ac">&#9670;&#160;</a></span>GetFirstCharIndex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ushort VectSharp.TrueTypeFile.GetFirstCharIndex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the index of the first character glyph represented by the font.  </p>
<dl class="section return"><dt>Returns</dt><dd>The index of the first character glyph represented by the font.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02056">2056</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="abd9c8b6a0adca6684e4bc629a447d849" name="abd9c8b6a0adca6684e4bc629a447d849"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd9c8b6a0adca6684e4bc629a447d849">&#9670;&#160;</a></span>GetFontFamilyName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string VectSharp.TrueTypeFile.GetFontFamilyName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtains the font family name from the TrueType file.  </p>
<dl class="section return"><dt>Returns</dt><dd>The font family name, if available; <code>null</code> otherwise.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l01982">1982</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a282ffb486dc20d30f55f64941ab32720" name="a282ffb486dc20d30f55f64941ab32720"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a282ffb486dc20d30f55f64941ab32720">&#9670;&#160;</a></span>GetFontName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string VectSharp.TrueTypeFile.GetFontName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtains the PostScript font name from the TrueType file.  </p>
<dl class="section return"><dt>Returns</dt><dd>The PostScript font name, if available; <code>null</code> otherwise.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02037">2037</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="ae7115a200c1dd75ec210d55b361fb776" name="ae7115a200c1dd75ec210d55b361fb776"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7115a200c1dd75ec210d55b361fb776">&#9670;&#160;</a></span>GetFullFontFamilyName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string VectSharp.TrueTypeFile.GetFullFontFamilyName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtains the full font family name from the TrueType file.  </p>
<dl class="section return"><dt>Returns</dt><dd>The full font family name, if available; <code>null</code> otherwise.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02009">2009</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a9c43d885920fab37a9314aa390453bc3" name="a9c43d885920fab37a9314aa390453bc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c43d885920fab37a9314aa390453bc3">&#9670;&#160;</a></span>GetGlyphIndex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int VectSharp.TrueTypeFile.GetGlyphIndex </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>glyph</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the index of the glyph corresponding to a certain character.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The character whose glyph is sought.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The index of the glyph in the TrueType file.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02146">2146</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a2d71c3bc53966321e3888fd7a9b21751" name="a2d71c3bc53966321e3888fd7a9b21751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d71c3bc53966321e3888fd7a9b21751">&#9670;&#160;</a></span>GetGlyphPath() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_point.html">TrueTypePoint</a>[][] VectSharp.TrueTypeFile.GetGlyphPath </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>glyph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the path that describes the shape of a glyph.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The glyph whose path is sought.</td></tr>
    <tr><td class="paramname">size</td><td>The font size to be used for the font coordinates.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of contours, each of which is itself an array of TrueType points.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02208">2208</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a221adc71cec5fc5f0949a3e1488d5627" name="a221adc71cec5fc5f0949a3e1488d5627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a221adc71cec5fc5f0949a3e1488d5627">&#9670;&#160;</a></span>GetGlyphPath() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_point.html">TrueTypePoint</a>[][] VectSharp.TrueTypeFile.GetGlyphPath </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the path that describes the shape of a glyph.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyphIndex</td><td>The index of the glyph whose path is sought.</td></tr>
    <tr><td class="paramname">size</td><td>The font size to be used for the font coordinates.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of contours, each of which is itself an array of TrueType points.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02197">2197</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a7bfa118192a7224fce438753c6667994" name="a7bfa118192a7224fce438753c6667994"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bfa118192a7224fce438753c6667994">&#9670;&#160;</a></span>GetItalicAngle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.TrueTypeFile.GetItalicAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the italic angle for the current font, in counter-clockwise degrees from the vertical. This is negative for text that leans forwards.  </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02466">2466</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="acc93935c524ad9ec77d8ca0b1d44055b" name="acc93935c524ad9ec77d8ca0b1d44055b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc93935c524ad9ec77d8ca0b1d44055b">&#9670;&#160;</a></span>GetLastCharIndex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ushort VectSharp.TrueTypeFile.GetLastCharIndex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the index of the last character glyph represented by the font.  </p>
<dl class="section return"><dt>Returns</dt><dd>The index of the last character glyph represented by the font.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02067">2067</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a22b28617c914ec8da254adc48d8a05f7" name="a22b28617c914ec8da254adc48d8a05f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22b28617c914ec8da254adc48d8a05f7">&#9670;&#160;</a></span>GetNames() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool VectSharp.TrueTypeFile.GetNames </td>
          <td>(</td>
          <td class="paramtype">Stream&#160;</td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out List&lt; <a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_name.html">TrueTypeName</a> &gt;&#160;</td>
          <td class="paramname"><em>names</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determines whether the stream contains a valid TrueType file and retrieves the list of names defined in it.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fs</td><td>The stream containing the TrueType file.</td></tr>
    <tr><td class="paramname">names</td><td>The list of names that will be returned. These will only include names with TrueType identifiers 1, 4, 6, or 16.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If the stream does not contain a valid TrueType file, <code>false</code>. If the TrueType file appears valid but does not contain a name table, <code>true</code>, but <em>names</em>  will be <code>null</code>. Otherwise, <code>true</code> and <em>names</em>  will not be null (but it might still be empty).</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l00621">621</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a5ba04a3800f6b7a044255303b2d2e0aa" name="a5ba04a3800f6b7a044255303b2d2e0aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ba04a3800f6b7a044255303b2d2e0aa">&#9670;&#160;</a></span>GetNames() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool VectSharp.TrueTypeFile.GetNames </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out List&lt; <a class="el" href="struct_vect_sharp_1_1_true_type_file_1_1_true_type_name.html">TrueTypeName</a> &gt;&#160;</td>
          <td class="paramname"><em>names</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determines whether the file is a valid TrueType file and retrieves the list of names defined in it.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file</td><td>The TrueType file.</td></tr>
    <tr><td class="paramname">names</td><td>The list of names that will be returned. These will only include names with TrueType identifiers 1, 4, 6, or 16.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If an error occurred while opening the file, or the file does not contain a valid TrueType file, <code>false</code>. If the TrueType file appears valid but does not contain a name table, <code>true</code>, but <em>names</em>  will be <code>null</code>. Otherwise, <code>true</code> and <em>names</em>  will not be null (but it might still be empty).</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l00597">597</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="aa8f3fba114b2632dcaeee0fb94da60a3" name="aa8f3fba114b2632dcaeee0fb94da60a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8f3fba114b2632dcaeee0fb94da60a3">&#9670;&#160;</a></span>GetUnitsPerEm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int VectSharp.TrueTypeFile.GetUnitsPerEm </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of units for each em in the font file. Multiplying any glyph measurement by this size should generally lead to an integer value.  </p>
<dl class="section return"><dt>Returns</dt><dd>The number of units for each em in the font file.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02457">2457</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a7e8376d45118eef1099fe0ad33d0e21b" name="a7e8376d45118eef1099fe0ad33d0e21b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e8376d45118eef1099fe0ad33d0e21b">&#9670;&#160;</a></span>IsBold()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool VectSharp.TrueTypeFile.IsBold </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the typeface is Bold or not.  </p>
<dl class="section return"><dt>Returns</dt><dd>A bool indicating whether the typeface is Bold or not</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02101">2101</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a5cbc0138ead9fd519e09e8f1988c7117" name="a5cbc0138ead9fd519e09e8f1988c7117"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cbc0138ead9fd519e09e8f1988c7117">&#9670;&#160;</a></span>IsFixedPitch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool VectSharp.TrueTypeFile.IsFixedPitch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the typeface is fixed-pitch (aka monospaces) or not.  </p>
<dl class="section return"><dt>Returns</dt><dd>A bool indicating whether the typeface is fixed-pitch (aka monospaces) or not.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02112">2112</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a2e4824b77b5933d6acfcaccb35e611c2" name="a2e4824b77b5933d6acfcaccb35e611c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e4824b77b5933d6acfcaccb35e611c2">&#9670;&#160;</a></span>IsItalic()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool VectSharp.TrueTypeFile.IsItalic </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the typeface is Italic or Oblique or not.  </p>
<dl class="section return"><dt>Returns</dt><dd>A bool indicating whether the typeface is Italic or Oblique or not.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02079">2079</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="adea9ca6b90608a6016ccd6396a5b4ca2" name="adea9ca6b90608a6016ccd6396a5b4ca2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adea9ca6b90608a6016ccd6396a5b4ca2">&#9670;&#160;</a></span>IsOblique()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool VectSharp.TrueTypeFile.IsOblique </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the typeface is Oblique or not.  </p>
<dl class="section return"><dt>Returns</dt><dd>A bool indicating whether the typeface is Oblique or not.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02090">2090</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="a7fde1c54dbe0648291951d248aebee18" name="a7fde1c54dbe0648291951d248aebee18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fde1c54dbe0648291951d248aebee18">&#9670;&#160;</a></span>IsScript()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool VectSharp.TrueTypeFile.IsScript </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the typeface is a script typeface or not.  </p>
<dl class="section return"><dt>Returns</dt><dd>A bool indicating whether the typeface is a script typeface or not.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02134">2134</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="aee6f8fdf0984954c8ad83a2d9dbd91cc" name="aee6f8fdf0984954c8ad83a2d9dbd91cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee6f8fdf0984954c8ad83a2d9dbd91cc">&#9670;&#160;</a></span>IsSerif()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool VectSharp.TrueTypeFile.IsSerif </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the typeface is serifed or not.  </p>
<dl class="section return"><dt>Returns</dt><dd>A bool indicating whether the typeface is serifed or not.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l02123">2123</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<a id="aa41ed2707565995122286e3ada899244" name="aa41ed2707565995122286e3ada899244"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa41ed2707565995122286e3ada899244">&#9670;&#160;</a></span>SubsetFont()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_true_type_file.html">TrueTypeFile</a> VectSharp.TrueTypeFile.SubsetFont </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>charactersToInclude</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>consolidateAt32</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Dictionary&lt; char, char &gt;&#160;</td>
          <td class="paramname"><em>outputEncoding</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a subset of the TrueType file, containing only the glyphs for the specified characters.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">charactersToInclude</td><td>A string containing the characters for which the glyphs should be included.</td></tr>
    <tr><td class="paramname">consolidateAt32</td><td>If true, the character map is rearranged so that the included glyphs start at the unicode U+0032 control point.</td></tr>
    <tr><td class="paramname">outputEncoding</td><td>If <em>consolidateAt32</em>  is true, entries will be added to this dictionary mapping the original characters to the new map (that starts at U+0033).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The subsetted TrueType file.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l00698">698</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a8df9028202564d2a8ca841102e558a1f" name="a8df9028202564d2a8ca841102e558a1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8df9028202564d2a8ca841102e558a1f">&#9670;&#160;</a></span>FontStream</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Stream VectSharp.TrueTypeFile.FontStream</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A stream pointing to the TrueType file source (either on disk or in memory). Never dispose this stream directly; if you really need to, call <a class="el" href="class_vect_sharp_1_1_true_type_file.html#af90110e53ded920a9f3fbb1906ebcfd2" title="Remove this TrueType file from the cache, clear the tables and release the FontStream....">Destroy</a> instead.  </p>

<p class="definition">Definition at line <a class="el" href="_true_type_8cs_source.html#l00047">47</a> of file <a class="el" href="_true_type_8cs_source.html">TrueType.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp/<a class="el" href="_true_type_8cs_source.html">TrueType.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_true_type_file.html">TrueTypeFile</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
